﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace Himp.Platform
{
    public class InternalApiInput
    {
        /// <summary>
        /// 接口编号
        /// </summary>
        [Required]
        [StringLength(50)]
        public string InfNo { get; set; }

        /// <summary>
        /// 报文ID
        /// </summary>
        [Required]
        [StringLength(30)]
        public string MsgId { get; set; }

        /// <summary>
        /// 接口版本号
        /// </summary>
        [Required]
        [StringLength(6)]
        public string InfVerno { get; set; }

        [Required]
        /// <summary>
        /// 1 Query
        /// 2 Mutation
        /// </summary>
        public int ReqMethod { get; set; }

        /// <summary>
        /// 请求时间
        /// </summary>
        [Required]
        [StringLength(19)]
        public string ReqTime { get; set; }

        /// <summary>
        /// 输入
        /// </summary>
        [Required]
        public string Input { get; set; }
    }
}
